Optimal. Leaf size=126 \[ -\frac{(2 x+29) \left (3 x^2+2\right )^{5/2}}{16 (2 x+3)^2}+\frac{5 (29 x+178) \left (3 x^2+2\right )^{3/2}}{32 (2 x+3)}+\frac{15}{64} (859-267 x) \sqrt{3 x^2+2}-\frac{12885}{128} \sqrt{35} \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )-\frac{43995}{128} \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0790293, antiderivative size = 126, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {813, 815, 844, 215, 725, 206} \[ -\frac{(2 x+29) \left (3 x^2+2\right )^{5/2}}{16 (2 x+3)^2}+\frac{5 (29 x+178) \left (3 x^2+2\right )^{3/2}}{32 (2 x+3)}+\frac{15}{64} (859-267 x) \sqrt{3 x^2+2}-\frac{12885}{128} \sqrt{35} \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )-\frac{43995}{128} \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 813
Rule 815
Rule 844
Rule 215
Rule 725
Rule 206
Rubi steps
\begin{align*} \int \frac{(5-x) \left (2+3 x^2\right )^{5/2}}{(3+2 x)^3} \, dx &=-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}-\frac{5}{64} \int \frac{(16-348 x) \left (2+3 x^2\right )^{3/2}}{(3+2 x)^2} \, dx\\ &=\frac{5 (178+29 x) \left (2+3 x^2\right )^{3/2}}{32 (3+2 x)}-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}+\frac{5}{512} \int \frac{(2784-25632 x) \sqrt{2+3 x^2}}{3+2 x} \, dx\\ &=\frac{15}{64} (859-267 x) \sqrt{2+3 x^2}+\frac{5 (178+29 x) \left (2+3 x^2\right )^{3/2}}{32 (3+2 x)}-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}+\frac{5 \int \frac{1056384-5068224 x}{(3+2 x) \sqrt{2+3 x^2}} \, dx}{12288}\\ &=\frac{15}{64} (859-267 x) \sqrt{2+3 x^2}+\frac{5 (178+29 x) \left (2+3 x^2\right )^{3/2}}{32 (3+2 x)}-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}-\frac{131985}{128} \int \frac{1}{\sqrt{2+3 x^2}} \, dx+\frac{450975}{128} \int \frac{1}{(3+2 x) \sqrt{2+3 x^2}} \, dx\\ &=\frac{15}{64} (859-267 x) \sqrt{2+3 x^2}+\frac{5 (178+29 x) \left (2+3 x^2\right )^{3/2}}{32 (3+2 x)}-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}-\frac{43995}{128} \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right )-\frac{450975}{128} \operatorname{Subst}\left (\int \frac{1}{35-x^2} \, dx,x,\frac{4-9 x}{\sqrt{2+3 x^2}}\right )\\ &=\frac{15}{64} (859-267 x) \sqrt{2+3 x^2}+\frac{5 (178+29 x) \left (2+3 x^2\right )^{3/2}}{32 (3+2 x)}-\frac{(29+2 x) \left (2+3 x^2\right )^{5/2}}{16 (3+2 x)^2}-\frac{43995}{128} \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right )-\frac{12885}{128} \sqrt{35} \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{2+3 x^2}}\right )\\ \end{align*}
Mathematica [A] time = 0.150015, size = 97, normalized size = 0.77 \[ \frac{1}{128} \left (-\frac{2 \sqrt{3 x^2+2} \left (72 x^5-696 x^4+2826 x^3-19268 x^2-127403 x-126181\right )}{(2 x+3)^2}-12885 \sqrt{35} \tanh ^{-1}\left (\frac{4-9 x}{\sqrt{35} \sqrt{3 x^2+2}}\right )-43995 \sqrt{3} \sinh ^{-1}\left (\sqrt{\frac{3}{2}} x\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 185, normalized size = 1.5 \begin{align*}{\frac{421}{4900} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{7}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-1}}+{\frac{2577}{4900} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{5}{2}}}}-{\frac{807\,x}{224} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}}}-{\frac{4005\,x}{64}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}}}}-{\frac{43995\,\sqrt{3}}{128}{\it Arcsinh} \left ({\frac{x\sqrt{6}}{2}} \right ) }+{\frac{859}{112} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}}}+{\frac{12885}{128}\sqrt{12\, \left ( x+3/2 \right ) ^{2}-36\,x-19}}-{\frac{12885\,\sqrt{35}}{128}{\it Artanh} \left ({\frac{ \left ( 8-18\,x \right ) \sqrt{35}}{35}{\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-36\,x-19}}}} \right ) }-{\frac{1263\,x}{4900} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{5}{2}}}}-{\frac{13}{280} \left ( 3\, \left ( x+3/2 \right ) ^{2}-9\,x-{\frac{19}{4}} \right ) ^{{\frac{7}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.55607, size = 196, normalized size = 1.56 \begin{align*} \frac{39}{280} \,{\left (3 \, x^{2} + 2\right )}^{\frac{5}{2}} - \frac{13 \,{\left (3 \, x^{2} + 2\right )}^{\frac{7}{2}}}{70 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac{807}{224} \,{\left (3 \, x^{2} + 2\right )}^{\frac{3}{2}} x + \frac{859}{112} \,{\left (3 \, x^{2} + 2\right )}^{\frac{3}{2}} + \frac{421 \,{\left (3 \, x^{2} + 2\right )}^{\frac{5}{2}}}{280 \,{\left (2 \, x + 3\right )}} - \frac{4005}{64} \, \sqrt{3 \, x^{2} + 2} x - \frac{43995}{128} \, \sqrt{3} \operatorname{arsinh}\left (\frac{1}{2} \, \sqrt{6} x\right ) + \frac{12885}{128} \, \sqrt{35} \operatorname{arsinh}\left (\frac{3 \, \sqrt{6} x}{2 \,{\left | 2 \, x + 3 \right |}} - \frac{2 \, \sqrt{6}}{3 \,{\left | 2 \, x + 3 \right |}}\right ) + \frac{12885}{64} \, \sqrt{3 \, x^{2} + 2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.98381, size = 412, normalized size = 3.27 \begin{align*} \frac{43995 \, \sqrt{3}{\left (4 \, x^{2} + 12 \, x + 9\right )} \log \left (\sqrt{3} \sqrt{3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) + 12885 \, \sqrt{35}{\left (4 \, x^{2} + 12 \, x + 9\right )} \log \left (-\frac{\sqrt{35} \sqrt{3 \, x^{2} + 2}{\left (9 \, x - 4\right )} + 93 \, x^{2} - 36 \, x + 43}{4 \, x^{2} + 12 \, x + 9}\right ) - 4 \,{\left (72 \, x^{5} - 696 \, x^{4} + 2826 \, x^{3} - 19268 \, x^{2} - 127403 \, x - 126181\right )} \sqrt{3 \, x^{2} + 2}}{256 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.27543, size = 311, normalized size = 2.47 \begin{align*} -\frac{1}{32} \,{\left (3 \,{\left ({\left (3 \, x - 38\right )} x + 225\right )} x - 4177\right )} \sqrt{3 \, x^{2} + 2} + \frac{43995}{128} \, \sqrt{3} \log \left (-\sqrt{3} x + \sqrt{3 \, x^{2} + 2}\right ) + \frac{12885}{128} \, \sqrt{35} \log \left (-\frac{{\left | -2 \, \sqrt{3} x - \sqrt{35} - 3 \, \sqrt{3} + 2 \, \sqrt{3 \, x^{2} + 2} \right |}}{2 \, \sqrt{3} x - \sqrt{35} + 3 \, \sqrt{3} - 2 \, \sqrt{3 \, x^{2} + 2}}\right ) + \frac{35 \,{\left (11472 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 2}\right )}^{3} + 25829 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 2}\right )}^{2} - 57912 \, \sqrt{3} x + 8984 \, \sqrt{3} + 57912 \, \sqrt{3 \, x^{2} + 2}\right )}}{256 \,{\left ({\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 2}\right )}^{2} + 3 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 2}\right )} - 2\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]